package com.yunxi.model.sto;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 仓储公司
 * </p>
 *
 * @author caoYong
 * @since 2019-06-06
 */
@Data
@EqualsAndHashCode(callSuper = false)

@TableName("pms_sto_storage_company")
@ApiModel(value="StoStorageCompany对象", description="仓储公司")
public class StoStorageCompany implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    @TableId(value = "STORAGE_COMPANY_ID", type = IdType.UUID)
    private String storageCompanyId;

    @ApiModelProperty(value = "仓储公司编号")
    @TableField("STORAGE_COMPANY_NO")
    private String storageCompanyNo;

    @ApiModelProperty(value = "仓储公司名称")
    @TableField("STORAGE_COMPANY_NAME")
    private String storageCompanyName;

    @ApiModelProperty(value = "仓储公司地址")
    @TableField("STORAGE_COMPANY_ADDRESS")
    private String storageCompanyAddress;

    @ApiModelProperty(value = "联系人姓名")
    @TableField("CONTACT_PERSON_NAME")
    private String contactPersonName;

    @ApiModelProperty(value = "联系方式")
    @TableField("CONTACT_PERSON_PHONE")
    private String contactPersonPhone;

    @ApiModelProperty(value = "是否启用(1是0否)")
    @TableField("IS_ON_USE")
    private String isOnUse;

    @ApiModelProperty(value = "创建时间")
    @TableField(value = "CREATE_TIME",fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "创建人")
    @TableField(value = "CREATE_BY",fill = FieldFill.INSERT)
    private String createBy;

    @ApiModelProperty(value = "修改时间")
    @TableField(value = "UPDATE_TIME",fill = FieldFill.UPDATE)
    private Date updateTime;

    @ApiModelProperty(value = "修改人")
    @TableField(value = "UPDATE_BY",fill = FieldFill.UPDATE)
    private String updateBy;


}
